;InnoSetupVersion=5.2.3

[Setup]
AppName=HTML-Kit
AppVerName=HTML-Kit
DefaultDirName={pf}\Chami\HTML-Kit
DefaultGroupName=HTML-Kit
OutputBaseFilename=HTML_KitSetup
Compression=lzma
LicenseFile=embedded\License.txt
WizardImageFile=embedded\WizardImage.bmp
WizardSmallImageFile=embedded\WizardSmallImage.bmp

[Files]
Source: "{tmp}\welcome1b_c256.bmp"; DestDir: "{tmp}"; Flags: deleteafterinstall dontcopy 
Source: "{app}\Bin\HTMLKit.exe"; DestDir: "{app}\Bin"; Components: "main"; Flags: ignoreversion 
Source: "{app}\Bin\ResetCfg.exe"; DestDir: "{app}\Bin"; Components: "main"; Flags: ignoreversion 
Source: "{app}\Bin\hkUtils.dll"; DestDir: "{app}\Bin"; Components: "main"; Flags: ignoreversion 
Source: "{app}\Bin\wallpapr.bmp"; DestDir: "{app}\Bin"; Components: "main"; Flags: ignoreversion 
Source: "{app}\Bin\weblinks.txt"; DestDir: "{app}\Bin"; Components: "main"; Flags: onlyifdoesntexist 
Source: "{app}\Bin\w95stub.exe"; DestDir: "{app}\Bin"; Components: "main"; Flags: ignoreversion 
Source: "{app}\Bin\HKSendTo.exe"; DestDir: "{app}\Bin"; Components: "main"; Flags: ignoreversion 
Source: "{app}\Bin\hkpCJNI.dll"; DestDir: "{app}\Bin"; Components: "main"; Flags: ignoreversion 
Source: "{app}\Bin\HKPCore.class"; DestDir: "{app}\Bin"; Components: "main"; Flags: ignoreversion 
Source: "{app}\Bin\hkpcore.pm"; DestDir: "{app}\Bin"; Components: "main"; Flags: ignoreversion 
Source: "{app}\Bin\hkpcore.php"; DestDir: "{app}\Bin"; Components: "main"; Flags: ignoreversion 
Source: "{app}\Bin\hkpcorem.py"; DestDir: "{app}\Bin"; Components: "main"; Flags: ignoreversion 
Source: "{app}\Bin\hkpcore.rb"; DestDir: "{app}\Bin"; Components: "main"; Flags: ignoreversion 
Source: "{app}\Bin\hkScript.dll"; DestDir: "{app}\Bin"; Components: "main"; Flags: ignoreversion 
Source: "{app}\Readme.txt"; DestDir: "{app}"; Components: "main"; Flags: ignoreversion 
Source: "{app}\License.txt"; DestDir: "{app}"; Components: "main"; Flags: ignoreversion 
Source: "{app}\HTML-Kit Home Page.url"; DestDir: "{app}"; Components: "main"; Flags: ignoreversion 
Source: "{app}\HTML-Kit Plugins Page.url"; DestDir: "{app}"; Components: "main"; Flags: ignoreversion 
Source: "{app}\HTML-Kit Support Page.url"; DestDir: "{app}"; Components: "main"; Flags: ignoreversion 
Source: "{app}\Data\Default\user.hmc"; DestDir: "{app}\Data\Default"; Components: "main"; Flags: ignoreversion 
Source: "{app}\Data\Default\Default.hkc"; DestDir: "{app}\Data\Default"; Components: "main"; Flags: ignoreversion 
Source: "{app}\Data\Default\Default.hft"; DestDir: "{app}\Data\Default"; Components: "main"; Flags: ignoreversion 
Source: "{app}\Data\Default\Default.hmd"; DestDir: "{app}\Data\Default"; Components: "main"; Flags: ignoreversion 
Source: "{app}\Proof\readme.txt"; DestDir: "{app}\Proof"; Components: "main"; Flags: ignoreversion 
Source: "{app}\Proof\spelling.inf"; DestDir: "{app}\Proof"; Components: "main"; Flags: onlyifdoesntexist 
Source: "{app}\Help\Help.txt"; DestDir: "{app}\Help"; Components: "main"; Flags: ignoreversion 
Source: "{app}\Help\Keywords\ms.hkh"; DestDir: "{app}\Help\Keywords"; Components: "help"; Flags: ignoreversion 
Source: "{app}\Help\Keywords\w3c.hkh"; DestDir: "{app}\Help\Keywords"; Components: "help"; Flags: ignoreversion 
Source: "{app}\Help\Keywords\msvb.hkh"; DestDir: "{app}\Help\Keywords"; Components: "help"; Flags: ignoreversion 
Source: "{app}\Help\Keywords\ns.hkh"; DestDir: "{app}\Help\Keywords"; Components: "help"; Flags: ignoreversion 
Source: "{app}\Help\Keywords\php.hkh"; DestDir: "{app}\Help\Keywords"; Components: "help"; Flags: ignoreversion 
Source: "{app}\Help\Keywords\msjs.hkh"; DestDir: "{app}\Help\Keywords"; Components: "help"; Flags: ignoreversion 
Source: "{app}\Help\Keywords\hkHelp.hkh"; DestDir: "{app}\Help\Keywords"; Components: "help"; Flags: ignoreversion 
Source: "{app}\Data\Snippets\Default\popupwin.htm"; DestDir: "{app}\Data\Snippets\Default"; Components: "snippets"; Flags: ignoreversion 
Source: "{app}\Data\Snippets\Default\aclrtext.htm"; DestDir: "{app}\Data\Snippets\Default"; Components: "snippets"; Flags: ignoreversion 
Source: "{app}\Data\Snippets\Default\backforw.htm"; DestDir: "{app}\Data\Snippets\Default"; Components: "snippets"; Flags: ignoreversion 
Source: "{app}\Data\Snippets\Default\dropdown.htm"; DestDir: "{app}\Data\Snippets\Default"; Components: "snippets"; Flags: ignoreversion 
Source: "{app}\Data\Snippets\Default\files.inf"; DestDir: "{app}\Data\Snippets\Default"; Components: "snippets"; Flags: ignoreversion 
Source: "{app}\Data\Snippets\Default\hover_a.htm"; DestDir: "{app}\Data\Snippets\Default"; Components: "snippets"; Flags: ignoreversion 
Source: "{app}\Data\Snippets\Default\pagebrk.htm"; DestDir: "{app}\Data\Snippets\Default"; Components: "snippets"; Flags: ignoreversion 
Source: "{app}\Data\Snippets\Default\pickclrs.htm"; DestDir: "{app}\Data\Snippets\Default"; Components: "snippets"; Flags: ignoreversion 
Source: "{app}\Data\Snippets\Default\aclrtext.bmp"; DestDir: "{app}\Data\Snippets\Default"; Components: "snippets"; Flags: ignoreversion 
Source: "{app}\Data\Template\Default\robots.txt"; DestDir: "{app}\Data\Template\Default"; Components: "templates"; Flags: ignoreversion 
Source: "{app}\Data\Template\Default\blank.css"; DestDir: "{app}\Data\Template\Default"; Components: "templates"; Flags: ignoreversion 
Source: "{app}\Data\Template\Default\blank.hkh"; DestDir: "{app}\Data\Template\Default"; Components: "templates"; Flags: ignoreversion 
Source: "{app}\Data\Template\Default\blank.htm"; DestDir: "{app}\Data\Template\Default"; Components: "templates"; Flags: ignoreversion 
Source: "{app}\Data\Template\Default\blank.txt"; DestDir: "{app}\Data\Template\Default"; Components: "templates"; Flags: ignoreversion 
Source: "{app}\Data\Template\Default\blankhtm.bmp"; DestDir: "{app}\Data\Template\Default"; Components: "templates"; Flags: ignoreversion 
Source: "{app}\Data\Template\Default\faq.bmp"; DestDir: "{app}\Data\Template\Default"; Components: "templates"; Flags: ignoreversion 
Source: "{app}\Data\Template\Default\faq.htm"; DestDir: "{app}\Data\Template\Default"; Components: "templates"; Flags: ignoreversion 
Source: "{app}\Data\Template\Default\files.inf"; DestDir: "{app}\Data\Template\Default"; Components: "templates"; Flags: ignoreversion 
Source: "{app}\Data\Template\Default\hover_a.css"; DestDir: "{app}\Data\Template\Default"; Components: "templates"; Flags: ignoreversion 
Source: "{app}\Data\Template\Default\nouline.css"; DestDir: "{app}\Data\Template\Default"; Components: "templates"; Flags: ignoreversion 
Source: "{app}\Data\Template\Default\redirect.htm"; DestDir: "{app}\Data\Template\Default"; Components: "templates"; Flags: ignoreversion 
Source: "{app}\Plugins\HTMLTidy.dll"; DestDir: "{app}\Plugins"; Components: "p_tidy"; Flags: ignoreversion 
Source: "{app}\Plugins\hkSetupPlus.exe"; DestDir: "{app}\Plugins"; Components: "main"; Flags: ignoreversion 
Source: "{app}\Plugins\WebTools.dll"; DestDir: "{app}\Plugins"; Components: "p_web"; Flags: ignoreversion 
Source: "{app}\Plugins\Tags.dll"; DestDir: "{app}\Plugins"; Components: "p_tags"; Flags: ignoreversion 
Source: "{app}\Plugins\Tools.dll"; DestDir: "{app}\Plugins"; Components: "p_tools"; Flags: ignoreversion 

[Dirs]
Name: "{app}\Temp"; Flags: uninsalwaysuninstall 
Name: "{app}\Cache"; Flags: uninsalwaysuninstall 
Name: "{app}\Backup"; Flags: uninsalwaysuninstall 
Name: "{app}\Bin"; Flags: uninsalwaysuninstall 
Name: "{app}\Data"; Flags: uninsalwaysuninstall 
Name: "{app}\Data\Default"; Flags: uninsalwaysuninstall 
Name: "{app}\Data\Template"; Flags: uninsalwaysuninstall 
Name: "{app}\Data\Snippets"; Flags: uninsalwaysuninstall 
Name: "{app}\Data\Snippets\User"; Flags: uninsalwaysuninstall 
Name: "{app}\Data\Snippets\Default"; Flags: uninsalwaysuninstall 
Name: "{app}\Data\Template\User"; Flags: uninsalwaysuninstall 
Name: "{app}\Data\Template\Default"; Flags: uninsalwaysuninstall 
Name: "{app}\Data\Logs"; Flags: uninsalwaysuninstall 
Name: "{app}\Data\Logs\User"; Flags: uninsalwaysuninstall 
Name: "{app}\Data\Logs\Default"; Flags: uninsalwaysuninstall 
Name: "{app}\Plugins"; Flags: uninsalwaysuninstall 
Name: "{app}\Help"; Flags: uninsalwaysuninstall 
Name: "{app}\Help\Keywords"; Flags: uninsalwaysuninstall 
Name: "{app}\Help\Content"; Flags: uninsalwaysuninstall 
Name: "{app}\Help\Program"; Flags: uninsalwaysuninstall 
Name: "{app}\Proof"; Flags: uninsalwaysuninstall 
Name: "{app}\Plugins\Config"; Flags: uninsalwaysuninstall 
Name: "{app}\Plugins\Lib"; Flags: uninsalwaysuninstall 
Name: "{app}\Plugins\Bin"; Flags: uninsalwaysuninstall 

[Registry]
Root: HKCU; Subkey: "Software\Chami"; Components: "main"; Flags: uninsdeletekeyifempty 
Root: HKCU; Subkey: "Software\Chami\HTML-Kit"; Components: "main"; Flags: uninsdeletekeyifempty 
Root: HKCU; Subkey: "Software\Chami\HTML-Kit"; ValueName: "Root"; ValueType: String; ValueData: "{app}"; Components: "main"; Flags: uninsdeletevalue deletevalue 
Root: HKCU; Subkey: "Software\Chami\HTML-Kit"; ValueName: "CurrentVersion"; ValueType: String; ValueData: "1.0"; Components: "main"; Flags: uninsdeletevalue 
Root: HKCU; Subkey: "Software\Chami\HTML-Kit"; ValueName: "CurrentBuild"; ValueType: String; ValueData: "292"; Components: "main"; Flags: uninsdeletevalue 
Root: HKCU; Subkey: "Software\Chami\HTML-Kit\1.0\Settings\FirstTime"; ValueName: "ProductTour"; ValueType: String; ValueData: "1"; Components: "main"; Flags: uninsdeletevalue uninsdeletekeyifempty 
Root: HKCU; Subkey: "Software\Chami\HTML-Kit\1.0\Settings"; ValueName: "HKPCacheCount"; ValueType: String; ValueData: "0"; Components: "main"; Flags: uninsdeletevalue uninsdeletekeyifempty 
Root: HKCU; Subkey: "Software\Chami\HTML-Kit\Uninstall"; ValueName: "Uninstalled"; ValueType: String; ValueData: "0"; Components: "main"; Flags: uninsdeletekey 
Root: HKCU; Subkey: "Software\Chami\HTML-Kit\1.0\Settings\FirstTime"; ValueName: "DownloadLinks"; ValueType: String; ValueData: "1"; Components: "main"; Flags: uninsdeletevalue uninsdeletekeyifempty 
Root: HKCU; Subkey: "Software\Chami\HTML-Kit\1.0\Settings\FirstTime"; ValueName: "DetectBrowsers"; ValueType: String; ValueData: "1"; Components: "main"; Flags: uninsdeletevalue uninsdeletekeyifempty 
Root: HKCU; Subkey: "Software\Chami\HTML-Kit\1.0\Settings\FirstTime"; ValueName: "DetectPrograms"; ValueType: String; ValueData: "1"; Components: "main"; Flags: uninsdeletevalue uninsdeletekeyifempty 
Root: HKCU; Subkey: "Software\Chami\HTML-Kit\1.0\Settings\FirstTime"; ValueName: "AddColorCodedExtensions"; ValueType: String; ValueData: "1"; Components: "main"; Flags: uninsdeletevalue uninsdeletekeyifempty 
Root: HKCU; Subkey: "Software\Chami\HTML-Kit\1.0\Settings\FirstTime"; ValueName: "UpdateKeyboardShortcuts"; ValueType: String; ValueData: "1"; Components: "main"; Flags: uninsdeletevalue uninsdeletekeyifempty 
Root: HKCU; Subkey: "Software\Chami\HTML-Kit\1.0\Settings\VersionInfo"; ValueName: "WebLinksTimeStamp"; ValueType: String; ValueData: "MMDDYYYY"; Components: "main"; Flags: uninsdeletevalue 
Root: HKCU; Subkey: "Software\Chami\HTML-Kit\1.0\Settings\VersionInfo"; ValueName: "VerFirstTime"; ValueType: String; ValueData: "1"; Components: "main"; Flags: uninsdeletevalue 
Root: HKCU; Subkey: "Software\Chami\HTML-Kit\1.0\Settings\VersionInfo"; ValueName: "TestOver"; ValueType: String; ValueData: "0"; Components: "main"; Flags: uninsdeletevalue 
Root: HKCU; Subkey: "Software\Chami\HTML-Kit\1.0\Settings"; ValueName: "FirstRun"; ValueType: String; ValueData: "1"; Components: "main"; Flags: uninsdeletevalue uninsdeletekeyifempty 

[Run]
Filename: "{app}\Bin\ResetCfg.exe"; Parameters: "-i"; Components: "main"; 
Filename: "{app}\Plugins\hkSetupPlus.exe"; Parameters: "/hksetup"; WorkingDir: "{app}\Plugins"; Description: "Select additional features and start HTML-Kit"; Components: "main"; 

[UninstallRun]
Filename: "{app}\Bin\ResetCfg.exe"; Parameters: "-u {app}"; RunOnceId: "HKUninst"; Components: "main"; 

[Icons]
Name: "{group}\HTML-Kit"; Filename: "{app}\Bin\HTMLKit.exe"; WorkingDir: "{app}\Bin"; Comment: "Start HTML-Kit"; Components: "main"; 
Name: "{group}\HTML-Kit Home Page"; Filename: "{app}\HTML-Kit Home Page.url"; WorkingDir: "{app}"; Comment: "Visit the HTML-Kit Home Page"; Components: "main"; 
Name: "{group}\HTML-Kit Plugins Page"; Filename: "{app}\HTML-Kit Plugins Page.url"; WorkingDir: "{app}"; Comment: "Visit the HTML-Kit Plugins Page"; Components: "main"; 
Name: "{group}\HTML-Kit Support Page"; Filename: "{app}\HTML-Kit Support Page.url"; WorkingDir: "{app}"; Comment: "Visit the HTML-Kit Support Page"; Components: "main"; 
Name: "{group}\Reset Settings"; Filename: "{app}\Bin\ResetCfg.exe"; Parameters: "-r"; WorkingDir: "{app}\Bin"; Comment: "Reset HTML-Kit Settings"; Components: "main"; 
Name: "{group}\Update HTML-Kit"; Filename: "{app}\Plugins\hkSetupPlus.exe"; WorkingDir: "{app}\Plugins"; Comment: "Install additional features"; Components: "main"; 
Name: "{group}\Uninstall HTML-Kit"; Filename: "{uninstallexe}"; 

[Components]
Name: "main"; Description: "HTML-Kit Application Files"; Types: "full custom"; 
Name: "help"; Description: "Help References  -  HTML / XHTML, CSS, JavaScript, VBScript, ..."; Types: "full"; 
Name: "p_tags"; Description: "Tag Helpers  -  HTML / XHTML TagWizards, CSS Properties, ..."; Types: "full"; 
Name: "p_tools"; Description: "Tools  -  Color Picker, Stylesheet Editors, Prototype Pad, ..."; Types: "full"; 
Name: "p_tidy"; Description: "HTML Tidy  -  Check, correct, format and convert HTML / XHTML / XML"; Types: "full"; 
Name: "p_web"; Description: "Online Tools  -  HTML / XHTML / CSS Validators, ..."; Types: "full"; 
Name: "templates"; Description: "Default Code Snippets"; Types: "full"; 
Name: "snippets"; Description: "Default Code Templates"; Types: "full"; 

[Types]
Name: "full"; Description: "Full Installation (Recommended)"; 
Name: "custom"; Description: "Advanced Custom Installation"; 

[CustomMessages]
default.NameAndVersion=%1 version %2
default.AdditionalIcons=Additional icons:
default.CreateDesktopIcon=Create a &desktop icon
default.CreateQuickLaunchIcon=Create a &Quick Launch icon
default.ProgramOnTheWeb=%1 on the Web
default.UninstallProgram=Uninstall %1
default.LaunchProgram=Launch %1
default.AssocFileExtension=&Associate %1 with the %2 file extension
default.AssocingFileExtension=Associating %1 with the %2 file extension...
URLLabel_Text=;
URLLabel_URL=http://www.htmlkit.com/
URLLabel_Hint=;
List_Items=HTML-Kit on the Web...^http://www.htmlkit.com/start/292/home/;What's New^http://www.htmlkit.com/start/292/news/;Additional Downloads^http://www.htmlkit.com/start/292/plugins/;Frequently Asked Questions^http://www.htmlkit.com/start/292/faq/;Support Center^http://www.htmlkit.com/start/292/support/;Search (tutorials, forums, ...)^http://www.htmlkit.com/start/292/search/;License Agreement^http://www.htmlkit.com/start/292/license/;Send Feedback^http://www.htmlkit.com/start/292/feedback/
List_Hint=Pick a section on the HTML-Kit web site to visit

[Languages]
; These files are stubs
; To achieve better results after recompilation, use the real language files
Name: "default"; MessagesFile: "embedded\default.isl"; 
